using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TalentJump : TalentBasic
{
    public override void OnClick()
    {
        if (PlayerData.coninsfortalent > 0)
        {
            if (PlayerData.jumpnum > 0)
                PlayerData.jumpnum = 2;
            base.OnClick();
        }
     }
}
